<!--@ // Requires a $product object as input -->
<form action="./" method="post" cond="isset($product->available) ? $product->available : $product->isAvailable()">
    <input type="hidden" name="act" value="procShopToolCartAddProduct" />
    <div class="clearfix">
        <p cond="$product->isSimple()" class="f-left quantity">
            <label>{$lang->quantity}:</label><input type="text" name="quantity" value="1" />
        </p>
        <p class="f-right">
            <span cond="$product->discount_price && $product->discount_price < $product->price" class="discount-price">{$product->getPrice(false)}</span>
            <span class="price">{ShopDisplay::priceFormat($product->getPrice(), $shop->getCurrencySymbol())}</span>
        </p>
        <input cond="$product->isSimple()" type="hidden" id="product_srl" name="product_srl" value="{$product->product_srl}" />
    </div>
    <p class="buy clearfix">
        <input cond="$product->isSimple()" class="add-to-cart" type="submit" value="{$lang->add_to_cart}" />
        <a cond="$product->isConfigurable()" href="{getUrl('vid', $mid, 'act', 'dispShopProduct', 'product_srl', $product->product_srl, 'category_srl', $category_srl)}" class="button">Customize this product</a>
    </p>
</form>